home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP Şubat 1998.iso / drivers / SESK / tumspinn / ENGLISH.Z / PROGRAM.BAT < prev   
DOS Batch File  |  1997-05-16  |  8KB  |  251 lines

  1. @echo off
  2. cls
  3. echo ╔═══════════════════════════════════════╗
  4. echo ║ TBS Pro Series PnP Resource Selection ║
  5. echo ╚═══════════════════════════════════════╝
  6. echo.
  7. echo This program will update the PnP resource map on the TBS Pro Series
  8. echo Pinnacle and Fiji cards.  You should use this program if you would 
  9. echo like to run multiple TBS Pro Series cards in one system or if you 
  10. echo would like to add the Joystick and/or EIDE device to your card or 
  11. echo if you had trouble with your current configuration in PnP mode.
  12. echo.
  13. echo If you do not intend to run more than one Pro Series card in this system
  14. echo and your current installation in PnP mode works without problems you 
  15. echo should probably NOT use this utility (don't fix it if it ain't broke).
  16. echo.
  17. choice /c:cq (C)ontinue (Q)uit 
  18. if errorlevel 2 goto Exit
  19.  
  20. cls
  21. echo ╔═══════════════════════════════════════╗
  22. echo ║ TBS Pro Series PnP Resource Selection ║
  23. echo ╚═══════════════════════════════════════╝
  24. echo.
  25. echo You will have the following choices to program your EEPROM:
  26. echo.
  27. echo » MultiSound Fiji (DSP)
  28. echo » MultiSound Fiji (DSP + Joystick)
  29. echo » MultiSound Pinnacle (DSP + MPU-401)
  30. echo » MultiSound Pinnacle (DSP + MPU-401 + Joystick)
  31. echo » MultiSound Pinnacle (DSP + MPU-401 + Joystick + EIDE)
  32. echo.
  33. echo First choose the correct card, then decide on the options for the 
  34. echo Joystick and EIDE interfaces based on your needs.
  35. echo.
  36. echo This program should be run from an MS-DOS command prompt (not the 
  37. echo Windows 95 MS-DOS mode).
  38. echo.
  39. choice /c:cq (C)ontinue (Q)uit 
  40. if errorlevel 2 goto Exit
  41.     
  42. :PORT
  43. cls
  44. echo ╔═══════════════════════════════════════╗
  45. echo ║ TBS Pro Series PnP Resource Selection ║
  46. echo ╚═══════════════════════════════════════╝
  47. echo.
  48. echo Before you can reprogram the card, you must know the control port address.  
  49. echo This is determined by the J9 jumper settings on the card.  Please refer
  50. echo to the diagram on choice 4 for the correct jumper settings for ports 250, 
  51. echo 260, and 270.
  52. echo.
  53. echo 1. Program the card at Port 250
  54. echo 2. Progran the card at Port 260
  55. echo 3. Program the card at Port 270
  56. echo 4. Show me a diagram of the J9 jumper settings
  57. echo.               
  58. choice /c:1234q Choose an option - (Q)uit 
  59. if errorlevel 5 goto EXIT
  60. if errorlevel 4 goto Diagram
  61. if errorlevel 3 goto 270
  62. if errorlevel 2 goto 260
  63. if errorlevel 1 goto 250
  64.  
  65. :Diagram
  66. cls
  67. echo ╔═══════════════════════════════════════╗
  68. echo ║ TBS Pro Series PnP Resource Selection ║
  69. echo ╚═══════════════════════════════════════╝
  70. echo.
  71. echo  Control Port Jumper Settings (J9):
  72. echo.
  73. echo  ╔════════╗       ╔════════╗       ╔════════╗       ╔════════╗
  74. echo  ║ ▓▓▓▓▓▓ ║       ║  ■  ■  ║       ║ ▓▓▓▓▓▓ ║       ║  ■  ■  ║
  75. echo  ╠════════╣       ╠════════╣       ╠════════╣       ╠════════╣
  76. echo  ║  ■  ■  ║       ║ ▓▓▓▓▓▓ ║       ║ ▓▓▓▓▓▓ ║       ║  ■  ■  ║
  77. echo  ╚════════╝       ╚════════╝       ╚════════╝       ╚════════╝
  78. echo     250              260              270            PnP mode
  79. echo.
  80. echo You must configure your card to one of the legacy port settings to use 
  81. echo this utility.  It will NOT work in PnP mode.
  82. echo.
  83. echo Shut down the computer before making any jumper changes to the TBS 
  84. echo Pro Series card, then restart to an MS-DOS command prompt and re-run
  85. echo this utility.
  86. echo.
  87. choice /c:bq (B)ack to Port Choices - (Q)uit 
  88. if errorlevel 2 goto Exit
  89. if errorlevel 1 goto PORT
  90.  
  91. :250
  92. set pinbase=250
  93. goto choices
  94.  
  95. :260
  96. set pinbase=260
  97. goto choices
  98.  
  99. :270
  100. set pinbase=270
  101. goto choices
  102.  
  103. :choices
  104. echo off
  105. cls
  106. echo ╔═══════════════════════════════════════╗
  107. echo ║ TBS Pro Series PnP Resource Selection ║
  108. echo ╚═══════════════════════════════════════╝
  109. echo.
  110. echo You have chosen to program the card at Port %pinbase%.
  111. echo.
  112. echo Shown below are the possible combinations of devices that will be detected 
  113. echo by a PnP BIOS or operating system:
  114. echo.
  115. echo 1. MultiSound Fiji (DSP)
  116. echo 2. MultiSound Fiji (DSP + Joystick)
  117. echo 3. MultiSound Pinnacle (DSP + MPU-401)
  118. echo 4. MultiSound Pinnacle (DSP + MPU-401 + Joystick)
  119. echo 5. MultiSound Pinnacle (DSP + MPU-401 + Joystick + EIDE)
  120. echo.               
  121. choice /c:12345q Choose an option - (Q)uit 
  122. if errorlevel 6 goto EXIT
  123. if errorlevel 5 goto PinnEIDE
  124. if errorlevel 4 goto PinnGame
  125. if errorlevel 3 goto Pinnacle
  126. if errorlevel 2 goto FijiGame
  127. if errorlevel 1 goto Fiji
  128.  
  129. :Pinnacle
  130. cls
  131. echo ╔═══════════════════════════════════════╗
  132. echo ║ TBS Pro Series PnP Resource Selection ║
  133. echo ╚═══════════════════════════════════════╝
  134. echo.
  135. echo You are about to program the Multisound Pinnacle card
  136. echo with the following information:
  137. echo.
  138. echo » MultiSound Pinnacle (DSP + MPU-401)
  139. echo.
  140. choice /c:cbq (C)ontinue - (B)ack to Menu - (Q)uit 
  141. if errorlevel 3 goto Exit
  142. if errorlevel 2 goto CHOICES
  143. set pinfile=pinnacle
  144. goto LastScreen
  145.  
  146. :PinnGame
  147. cls
  148. echo ╔═══════════════════════════════════════╗
  149. echo ║ TBS Pro Series PnP Resource Selection ║
  150. echo ╚═══════════════════════════════════════╝
  151. echo.
  152. echo You are about to program the Multisound Pinnacle card
  153. echo with the following information:
  154. echo.
  155. echo » MultiSound Pinnacle (DSP + MPU-401 + Joystick)
  156. echo.
  157. choice /c:cbq (C)ontinue - (B)ack to Menu - (Q)uit 
  158. if errorlevel 3 goto Exit
  159. if errorlevel 2 goto CHOICES
  160. set pinfile=pinngame
  161. goto LastScreen
  162.  
  163. :PinnEIDE
  164. cls
  165. echo ╔═══════════════════════════════════════╗
  166. echo ║ TBS Pro Series PnP Resource Selection ║
  167. echo ╚═══════════════════════════════════════╝
  168. echo.
  169. echo You are about to program the Multisound Pinnacle card
  170. echo with the following information:
  171. echo.
  172. echo » MultiSound Pinnacle (DSP + MPU-401 + Joystick + EIDE)
  173. echo.
  174. choice /c:cbq (C)ontinue - (B)ack to Menu - (Q)uit 
  175. if errorlevel 3 goto Exit
  176. if errorlevel 2 goto CHOICES
  177. set pinfile=pinneide
  178. goto LastScreen
  179.  
  180. :Fiji
  181. cls
  182. echo ╔═══════════════════════════════════════╗
  183. echo ║ TBS Pro Series PnP Resource Selection ║
  184. echo ╚═══════════════════════════════════════╝
  185. echo.
  186. echo You are about to program the Multisound Fiji card
  187. echo with the following information:
  188. echo.
  189. echo » MultiSound Fiji (DSP)
  190. echo.
  191. choice /c:cbq (C)ontinue - (B)ack to Menu - (Q)uit 
  192. if errorlevel 3 goto Exit
  193. if errorlevel 2 goto CHOICES
  194. set pinfile=fiji
  195. goto LastScreen
  196.  
  197. :FijiGame
  198. cls
  199. echo ╔═══════════════════════════════════════╗
  200. echo ║ TBS Pro Series PnP Resource Selection ║
  201. echo ╚═══════════════════════════════════════╝
  202. echo.
  203. echo You are about to program the Multisound Fiji card
  204. echo with the following information:
  205. echo.
  206. echo » MultiSound Fiji (DSP + Joystick)
  207. echo.
  208. choice /c:cbq (C)ontinue - (B)ack to Menu - (Q)uit 
  209. if errorlevel 3 goto Exit
  210. if errorlevel 2 goto CHOICES
  211. set pinfile=fijigame
  212. goto LastScreen
  213.  
  214. :LastScreen
  215. cls
  216. echo ╔═══════════════════════════════════════╗
  217. echo ║ TBS Pro Series PnP Resource Selection ║
  218. echo ╚═══════════════════════════════════════╝
  219. echo. 
  220. pincfg.exe /fpin%pinbase%.ini /l%pinfile%.rom
  221. pause
  222. eeserial.exe /p%pinbase% /r
  223. echo.
  224. pause
  225. cls
  226. echo ╔═══════════════════════════════════════╗
  227. echo ║ TBS Pro Series PnP Resource Selection ║
  228. echo ╚═══════════════════════════════════════╝
  229. echo.
  230. echo The hardware update is complete!  If you did not receive any error 
  231. echo messages on the previous screens, your card has been updated successfully.  
  232. echo If you did receive error messages, make sure that jumper J9 on the card 
  233. echo matches the control port you have chosen and that this port address is 
  234. echo available for use by this device.
  235. echo.
  236. echo After correctly updating the card, you will need to shut down the computer 
  237. echo and remove any jumpers from J9 to re-enable Plug and Play.  Upon booting 
  238. echo into Windows 95, the new devices will be detected and configured 
  239. echo automatically.
  240. echo.
  241. echo 1. Re-program the card with different settings.
  242. echo 2. Re-program the card at a different control port.
  243. echo.
  244. choice /c:12q Choose an option - (Q)uit 
  245. if errorlevel 3 goto Exit
  246. if errorlevel 2 goto PORT
  247. if errorlevel 1 goto choices
  248.  
  249. :Exit
  250. set pinbase=
  251. set pinfile=